#include <stdio.h>
#include <math.h>

#define N 100000000

int main() {
    int i;
    double sum = 0;
    for (i = 0; i < N; i++)
	sum += sin(i);
    printf("sin(1)+...+sin(%d)=%lf\n", N-1, sum);
    return 0;
}
